﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="VendorViewReviews.ascx.cs" Inherits="Gollie.Controls.VendorViewReviews" %>

<p class="title">Klant beoordelingen</p>

<div style="float:left; margin-right: 64px;">
    <table>
        <tr>
            <td colspan="2" style="text-align:left; font-weight:bold;">Periode</td>
        </tr>
        <tr>
            <td>Van:</td><td><asp:TextBox runat="server" CssClass="input-datepicker" ID="tbDateFrom" ClientIDMode="Static" MaxLength="10" Width="8em"></asp:TextBox></td>
        </tr>
        <tr>
            <td>t/m:</td><td><asp:TextBox runat="server" CssClass="input-datepicker" ID="tbDateTo" ClientIDMode="Static" MaxLength="10" Width="8em"></asp:TextBox></td>
        </tr>
        <tr>
            <td colspan="2" style="text-align:left;"><asp:Button ID="btnPeriod" runat="server" Text="Verstuur"/></td>
        </tr>
    </table>
</div>
<div style="float:left; font-size: 1.3em; margin-right: 32px;">
    <table>
        <tr>
            <td><span>Aantal beoordelingen</span></td>
            <td style="text-align: right;"><asp:Label ID="lblNumberOfReviews" runat="server"></asp:Label></td>
        </tr>
        <tr>
            <td><span>Gemiddelde beoordeling: </span></td>
            <td style="text-align: right;"><asp:Label ID="lblAvgRating" runat="server"></asp:Label><span> / 5</span></td>
        </tr>
    </table>
</div>
<asp:Panel ID="pnlPercentageBars" runat="server" CssClass="percentagecontainer">
</asp:Panel>

<hr style="clear: left"/>
<asp:Table ID="tblRatings" runat="server">
    <asp:TableHeaderRow ID="tblHdrRow" runat="server">
        <asp:TableHeaderCell ID="tblHdrDate" runat="server"  CssClass="vendorview" Text="Datum" />
        <asp:TableHeaderCell ID="tblHdrRating" runat="server"  CssClass="vendorview" Text="Beoordeling (1 - 5)" />
        <asp:TableHeaderCell ID="tblHdrComment" runat="server"  CssClass="vendorview" Text="Opmerkingen"></asp:TableHeaderCell>
    </asp:TableHeaderRow>
    <asp:TableRow ID="tblRow1" runat="server">
        <asp:TableCell ID="tblCellDummy" runat="server" ColumnSpan="2"></asp:TableCell>
        <asp:TableCell ID="tblCellToggle" runat="server" CssClass="vendorview toggleall"><asp:Panel ID="pnlToggleAll" runat="server"><a class="common toggleall" id="showAllComments" href="#">Toon alle opmerkingen</a></asp:Panel><asp:Panel ID="pnlNoReviews" runat="server">Er zijn geen beoordelingen.</asp:Panel></asp:TableCell>
    </asp:TableRow>
</asp:Table>
